home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_076 / include / resources / misc.g < prev    next >
Text File  |  1992-05-06  |  533b  |  28 lines

  1. /* requires prior inclusion of exec/libraries.g */
  2.  
  3. uint
  4.     MR_SERIALPORT    = 0,
  5.     MR_SERIALBITS    = 1,
  6.     MR_PARALLELPORT    = 2,
  7.     MR_PARALLELBITS    = 3,
  8.  
  9.     NUMMRTYPES        = 4;
  10.  
  11. type
  12.     Library_t = unknown 34,
  13.  
  14.     MiscResource_t = struct {
  15.     Library_t mr_Library;
  16.     [NUMMRTYPES]ulong mr_AllocArray;
  17.     };
  18.  
  19. int
  20.     MR_ALLOCMISCRESOURCE    = LIB_BASE,
  21.     MR_FREEMISCRESOURCE     = LIB_BASE + LIB_VECTSIZE;
  22.  
  23. *char MISCNAME    = "misc.resource";
  24.  
  25. extern
  26.     FreeMiscResource(long unitNum)void,
  27.     GetMiscResource(long unitNum; *char name)*char;
  28.